public class FatherAdult extends Adult implements ManagerInterface,ReportInterface{
    int bonus=50000;
    public FatherAdult(String name, int age) {
        super(name, age);

    }
    public void setGender(){
        this.gender=GenderEnum.male;
    }
    public GenderEnum getGender(){
        return gender;
    }
    public void setBonus(int bonus){
        this.bonus=bonus;
    }
    public int getBonus(){
        return bonus;
    }
    @Override
    public void work(){
        System.out.println(getName()+"正在上班");
    }
    @Override
    public void manage(){
        System.out.println(getName()+"正在管理工程部");
    }
    @Override
    public void report(){
        System.out.println(getName()+"正在向总经理汇报");
    }
}
